package two;

/**
 * @author zzb
 * @since 2021-01-12
 */

//ConcreteFactory
public class WhiteAnimalFactory implements IAnimalFactory {

  @Override
  public ICat createCat() {
    return new WhiteCat();
  }

  @Override
  public IDog createDog() {
    return new WhiteDog();
  }
}
